#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

typedef struct watchpoint {
	int NO;
	struct watchpoint *next;

	/* TODO: Add more members if necessary */
	uint32_t value;
	char exp[32];

} WP;

WP* new_wp();

void free_wp(WP* wp);

bool check_wp();

void info_w();

WP* find_target(int n);

#endif
